<template>
  <div>
    <router-view>

    </router-view>
    <!-- <router-view> -->
      <!-- <van-button type="primary">主要按钮</van-button>
      <van-button type="info">信息按钮</van-button>
      <van-button type="default">默认按钮</van-button>
      <van-button type="warning">警告按钮</van-button>
      <van-button type="danger">危险按钮</van-button> -->
    <!-- </router-view> -->

  </div>
</template>

<script>
import { getChannelListAPI } from '@/api'
export default {
  async created () {
    const res = await getChannelListAPI()
    console.log(res) // 后台返回的频道数据
  }
}
</script>

<style>
</style>
